/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.dengues.model.warehouse.impl;

import org.dengues.model.warehouse.BlockType;
import org.dengues.model.warehouse.ColumnType;
import org.dengues.model.warehouse.ConnectionType;
import org.dengues.model.warehouse.DocumentRoot;
import org.dengues.model.warehouse.ElementParameterType;
import org.dengues.model.warehouse.MetadataType;
import org.dengues.model.warehouse.NodeType;
import org.dengues.model.warehouse.NoteType;
import org.dengues.model.warehouse.ProcessType;
import org.dengues.model.warehouse.WarehouseFactory;
import org.dengues.model.warehouse.WarehousePackage;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

import org.eclipse.emf.ecore.xml.type.XMLTypePackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class WarehousePackageImpl extends EPackageImpl implements WarehousePackage {
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass blockTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass columnTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass connectionTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass documentRootEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass elementParameterTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass metadataTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass nodeTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass noteTypeEClass = null;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private EClass processTypeEClass = null;

    /**
     * Creates an instance of the model <b>Package</b>, registered with
     * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
     * package URI value.
     * <p>Note: the correct way to create the package is via the static
     * factory method {@link #init init()}, which also performs
     * initialization of the package, or returns the registered package,
     * if one already exists.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see org.eclipse.emf.ecore.EPackage.Registry
     * @see org.dengues.model.warehouse.WarehousePackage#eNS_URI
     * @see #init()
     * @generated
     */
    private WarehousePackageImpl() {
        super(eNS_URI, WarehouseFactory.eINSTANCE);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private static boolean isInited = false;

    /**
     * Creates, registers, and initializes the <b>Package</b> for this
     * model, and for any others upon which it depends.  Simple
     * dependencies are satisfied by calling this method on all
     * dependent packages before doing anything else.  This method drives
     * initialization for interdependent packages directly, in parallel
     * with this package, itself.
     * <p>Of this package and its interdependencies, all packages which
     * have not yet been registered by their URI values are first created
     * and registered.  The packages are then initialized in two steps:
     * meta-model objects for all of the packages are created before any
     * are initialized, since one package's meta-model objects may refer to
     * those of another.
     * <p>Invocation of this method will not affect any packages that have
     * already been initialized.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #eNS_URI
     * @see #createPackageContents()
     * @see #initializePackageContents()
     * @generated
     */
    public static WarehousePackage init() {
        if (isInited) return (WarehousePackage)EPackage.Registry.INSTANCE.getEPackage(WarehousePackage.eNS_URI);

        // Obtain or create and register package
        WarehousePackageImpl theWarehousePackage = (WarehousePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof WarehousePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new WarehousePackageImpl());

        isInited = true;

        // Initialize simple dependencies
        XMLTypePackage.eINSTANCE.eClass();

        // Create package meta-data objects
        theWarehousePackage.createPackageContents();

        // Initialize created meta-data
        theWarehousePackage.initializePackageContents();

        // Mark meta-data to indicate it can't be changed
        theWarehousePackage.freeze();

        return theWarehousePackage;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getBlockType() {
        return blockTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_Color() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_Name() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_PosX() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_PosY() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(3);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_SizeH() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(4);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getBlockType_SizeW() {
        return (EAttribute)blockTypeEClass.getEStructuralFeatures().get(5);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getColumnType() {
        return columnTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getColumnType_Name() {
        return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getColumnType_Type() {
        return (EAttribute)columnTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getConnectionType() {
        return connectionTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getConnectionType_Name() {
        return (EAttribute)connectionTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getConnectionType_Source() {
        return (EAttribute)connectionTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getConnectionType_Target() {
        return (EAttribute)connectionTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getDocumentRoot() {
        return documentRootEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getDocumentRoot_Mixed() {
        return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_XMLNSPrefixMap() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_XSISchemaLocation() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Block() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Column() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Connection() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_ElementParameter() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(6);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Metadata() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(7);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Node() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(8);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Note() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(9);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getDocumentRoot_Process() {
        return (EReference)documentRootEClass.getEStructuralFeatures().get(10);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getElementParameterType() {
        return elementParameterTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getElementParameterType_Field() {
        return (EAttribute)elementParameterTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getElementParameterType_Name() {
        return (EAttribute)elementParameterTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getElementParameterType_Value() {
        return (EAttribute)elementParameterTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getMetadataType() {
        return metadataTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getMetadataType_Column() {
        return (EReference)metadataTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getMetadataType_Name() {
        return (EAttribute)metadataTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getNodeType() {
        return nodeTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getNodeType_Metadata() {
        return (EReference)nodeTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getNodeType_ElementParameter() {
        return (EReference)nodeTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNodeType_Color() {
        return (EAttribute)nodeTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNodeType_CompName() {
        return (EAttribute)nodeTypeEClass.getEStructuralFeatures().get(3);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNodeType_PosX() {
        return (EAttribute)nodeTypeEClass.getEStructuralFeatures().get(4);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNodeType_PosY() {
        return (EAttribute)nodeTypeEClass.getEStructuralFeatures().get(5);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getNoteType() {
        return noteTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_Opaque() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_PosX() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_PosY() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_SizeH() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(3);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_SizeW() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(4);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getNoteType_Text() {
        return (EAttribute)noteTypeEClass.getEStructuralFeatures().get(5);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EClass getProcessType() {
        return processTypeEClass;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getProcessType_Node() {
        return (EReference)processTypeEClass.getEStructuralFeatures().get(0);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getProcessType_Note() {
        return (EReference)processTypeEClass.getEStructuralFeatures().get(1);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getProcessType_Block() {
        return (EReference)processTypeEClass.getEStructuralFeatures().get(2);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EReference getProcessType_Connection() {
        return (EReference)processTypeEClass.getEStructuralFeatures().get(3);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getProcessType_Comment() {
        return (EAttribute)processTypeEClass.getEStructuralFeatures().get(4);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getProcessType_Name() {
        return (EAttribute)processTypeEClass.getEStructuralFeatures().get(5);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EAttribute getProcessType_Status() {
        return (EAttribute)processTypeEClass.getEStructuralFeatures().get(6);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public WarehouseFactory getWarehouseFactory() {
        return (WarehouseFactory)getEFactoryInstance();
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private boolean isCreated = false;

    /**
     * Creates the meta-model objects for the package.  This method is
     * guarded to have no affect on any invocation but its first.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void createPackageContents() {
        if (isCreated) return;
        isCreated = true;

        // Create classes and their features
        blockTypeEClass = createEClass(BLOCK_TYPE);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__COLOR);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__NAME);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__POS_X);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__POS_Y);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__SIZE_H);
        createEAttribute(blockTypeEClass, BLOCK_TYPE__SIZE_W);

        columnTypeEClass = createEClass(COLUMN_TYPE);
        createEAttribute(columnTypeEClass, COLUMN_TYPE__NAME);
        createEAttribute(columnTypeEClass, COLUMN_TYPE__TYPE);

        connectionTypeEClass = createEClass(CONNECTION_TYPE);
        createEAttribute(connectionTypeEClass, CONNECTION_TYPE__NAME);
        createEAttribute(connectionTypeEClass, CONNECTION_TYPE__SOURCE);
        createEAttribute(connectionTypeEClass, CONNECTION_TYPE__TARGET);

        documentRootEClass = createEClass(DOCUMENT_ROOT);
        createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
        createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
        createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
        createEReference(documentRootEClass, DOCUMENT_ROOT__BLOCK);
        createEReference(documentRootEClass, DOCUMENT_ROOT__COLUMN);
        createEReference(documentRootEClass, DOCUMENT_ROOT__CONNECTION);
        createEReference(documentRootEClass, DOCUMENT_ROOT__ELEMENT_PARAMETER);
        createEReference(documentRootEClass, DOCUMENT_ROOT__METADATA);
        createEReference(documentRootEClass, DOCUMENT_ROOT__NODE);
        createEReference(documentRootEClass, DOCUMENT_ROOT__NOTE);
        createEReference(documentRootEClass, DOCUMENT_ROOT__PROCESS);

        elementParameterTypeEClass = createEClass(ELEMENT_PARAMETER_TYPE);
        createEAttribute(elementParameterTypeEClass, ELEMENT_PARAMETER_TYPE__FIELD);
        createEAttribute(elementParameterTypeEClass, ELEMENT_PARAMETER_TYPE__NAME);
        createEAttribute(elementParameterTypeEClass, ELEMENT_PARAMETER_TYPE__VALUE);

        metadataTypeEClass = createEClass(METADATA_TYPE);
        createEReference(metadataTypeEClass, METADATA_TYPE__COLUMN);
        createEAttribute(metadataTypeEClass, METADATA_TYPE__NAME);

        nodeTypeEClass = createEClass(NODE_TYPE);
        createEReference(nodeTypeEClass, NODE_TYPE__METADATA);
        createEReference(nodeTypeEClass, NODE_TYPE__ELEMENT_PARAMETER);
        createEAttribute(nodeTypeEClass, NODE_TYPE__COLOR);
        createEAttribute(nodeTypeEClass, NODE_TYPE__COMP_NAME);
        createEAttribute(nodeTypeEClass, NODE_TYPE__POS_X);
        createEAttribute(nodeTypeEClass, NODE_TYPE__POS_Y);

        noteTypeEClass = createEClass(NOTE_TYPE);
        createEAttribute(noteTypeEClass, NOTE_TYPE__OPAQUE);
        createEAttribute(noteTypeEClass, NOTE_TYPE__POS_X);
        createEAttribute(noteTypeEClass, NOTE_TYPE__POS_Y);
        createEAttribute(noteTypeEClass, NOTE_TYPE__SIZE_H);
        createEAttribute(noteTypeEClass, NOTE_TYPE__SIZE_W);
        createEAttribute(noteTypeEClass, NOTE_TYPE__TEXT);

        processTypeEClass = createEClass(PROCESS_TYPE);
        createEReference(processTypeEClass, PROCESS_TYPE__NODE);
        createEReference(processTypeEClass, PROCESS_TYPE__NOTE);
        createEReference(processTypeEClass, PROCESS_TYPE__BLOCK);
        createEReference(processTypeEClass, PROCESS_TYPE__CONNECTION);
        createEAttribute(processTypeEClass, PROCESS_TYPE__COMMENT);
        createEAttribute(processTypeEClass, PROCESS_TYPE__NAME);
        createEAttribute(processTypeEClass, PROCESS_TYPE__STATUS);
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    private boolean isInitialized = false;

    /**
     * Complete the initialization of the package and its meta-model.  This
     * method is guarded to have no affect on any invocation but its first.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void initializePackageContents() {
        if (isInitialized) return;
        isInitialized = true;

        // Initialize package
        setName(eNAME);
        setNsPrefix(eNS_PREFIX);
        setNsURI(eNS_URI);

        // Obtain other dependent packages
        XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

        // Create type parameters

        // Set bounds for type parameters

        // Add supertypes to classes

        // Initialize classes and features; add operations and parameters
        initEClass(blockTypeEClass, BlockType.class, "BlockType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getBlockType_Color(), theXMLTypePackage.getInt(), "color", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getBlockType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getBlockType_PosX(), theXMLTypePackage.getInt(), "posX", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getBlockType_PosY(), theXMLTypePackage.getInt(), "posY", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getBlockType_SizeH(), theXMLTypePackage.getInt(), "sizeH", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getBlockType_SizeW(), theXMLTypePackage.getInt(), "sizeW", null, 0, 1, BlockType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(columnTypeEClass, ColumnType.class, "ColumnType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getColumnType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getColumnType_Type(), theXMLTypePackage.getString(), "type", null, 0, 1, ColumnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(connectionTypeEClass, ConnectionType.class, "ConnectionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getConnectionType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ConnectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getConnectionType_Source(), theXMLTypePackage.getString(), "source", null, 0, 1, ConnectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getConnectionType_Target(), theXMLTypePackage.getString(), "target", null, 0, 1, ConnectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Block(), this.getBlockType(), null, "block", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Column(), this.getColumnType(), null, "column", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Connection(), this.getConnectionType(), null, "connection", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_ElementParameter(), this.getElementParameterType(), null, "elementParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Metadata(), this.getMetadataType(), null, "metadata", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Node(), this.getNodeType(), null, "node", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Note(), this.getNoteType(), null, "note", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
        initEReference(getDocumentRoot_Process(), this.getProcessType(), null, "process", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);

        initEClass(elementParameterTypeEClass, ElementParameterType.class, "ElementParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getElementParameterType_Field(), theXMLTypePackage.getString(), "field", null, 0, 1, ElementParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getElementParameterType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, ElementParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getElementParameterType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ElementParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(metadataTypeEClass, MetadataType.class, "MetadataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEReference(getMetadataType_Column(), this.getColumnType(), null, "column", null, 0, -1, MetadataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getMetadataType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, MetadataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(nodeTypeEClass, NodeType.class, "NodeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEReference(getNodeType_Metadata(), this.getMetadataType(), null, "metadata", null, 0, -1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getNodeType_ElementParameter(), this.getElementParameterType(), null, "elementParameter", null, 0, -1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNodeType_Color(), theXMLTypePackage.getInt(), "color", null, 0, 1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNodeType_CompName(), theXMLTypePackage.getString(), "compName", null, 0, 1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNodeType_PosX(), theXMLTypePackage.getInt(), "posX", null, 0, 1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNodeType_PosY(), theXMLTypePackage.getInt(), "posY", null, 0, 1, NodeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(noteTypeEClass, NoteType.class, "NoteType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEAttribute(getNoteType_Opaque(), theXMLTypePackage.getBoolean(), "opaque", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNoteType_PosX(), theXMLTypePackage.getInt(), "posX", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNoteType_PosY(), theXMLTypePackage.getInt(), "posY", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNoteType_SizeH(), theXMLTypePackage.getInt(), "sizeH", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNoteType_SizeW(), theXMLTypePackage.getInt(), "sizeW", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getNoteType_Text(), theXMLTypePackage.getString(), "text", null, 0, 1, NoteType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        initEClass(processTypeEClass, ProcessType.class, "ProcessType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
        initEReference(getProcessType_Node(), this.getNodeType(), null, "node", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getProcessType_Note(), this.getNoteType(), null, "note", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getProcessType_Block(), this.getBlockType(), null, "block", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEReference(getProcessType_Connection(), this.getConnectionType(), null, "connection", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getProcessType_Comment(), theXMLTypePackage.getString(), "comment", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getProcessType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
        initEAttribute(getProcessType_Status(), theXMLTypePackage.getString(), "status", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

        // Create resource
        createResource(eNS_URI);

        // Create annotations
        // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
        createExtendedMetaDataAnnotations();
    }

    /**
     * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected void createExtendedMetaDataAnnotations() {
        String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";		
        addAnnotation
          (this, 
           source, 
           new String[] {
             "qualified", "false"
           });		
        addAnnotation
          (blockTypeEClass, 
           source, 
           new String[] {
             "name", "Block_._type",
             "kind", "empty"
           });		
        addAnnotation
          (getBlockType_Color(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "color",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getBlockType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getBlockType_PosX(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posX",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getBlockType_PosY(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posY",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getBlockType_SizeH(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "sizeH",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getBlockType_SizeW(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "sizeW",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (columnTypeEClass, 
           source, 
           new String[] {
             "name", "Column_._type",
             "kind", "empty"
           });		
        addAnnotation
          (getColumnType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getColumnType_Type(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "type",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (connectionTypeEClass, 
           source, 
           new String[] {
             "name", "Connection_._type",
             "kind", "empty"
           });		
        addAnnotation
          (getConnectionType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getConnectionType_Source(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "source",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getConnectionType_Target(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "target",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (documentRootEClass, 
           source, 
           new String[] {
             "name", "",
             "kind", "mixed"
           });		
        addAnnotation
          (getDocumentRoot_Mixed(), 
           source, 
           new String[] {
             "kind", "elementWildcard",
             "name", ":mixed"
           });		
        addAnnotation
          (getDocumentRoot_XMLNSPrefixMap(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "xmlns:prefix"
           });		
        addAnnotation
          (getDocumentRoot_XSISchemaLocation(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "xsi:schemaLocation"
           });			
        addAnnotation
          (getDocumentRoot_Block(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Block",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getDocumentRoot_Column(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Column",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getDocumentRoot_Connection(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Connection",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getDocumentRoot_ElementParameter(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "ElementParameter",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getDocumentRoot_Metadata(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Metadata",
             "namespace", "##targetNamespace"
           });			
        addAnnotation
          (getDocumentRoot_Node(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Node",
             "namespace", "##targetNamespace"
           });			
        addAnnotation
          (getDocumentRoot_Note(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Note",
             "namespace", "##targetNamespace"
           });			
        addAnnotation
          (getDocumentRoot_Process(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Process",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (elementParameterTypeEClass, 
           source, 
           new String[] {
             "name", "ElementParameter_._type",
             "kind", "empty"
           });		
        addAnnotation
          (getElementParameterType_Field(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "field",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getElementParameterType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getElementParameterType_Value(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "value",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (metadataTypeEClass, 
           source, 
           new String[] {
             "name", "Metadata_._type",
             "kind", "elementOnly"
           });		
        addAnnotation
          (getMetadataType_Column(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Column",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getMetadataType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "Name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (nodeTypeEClass, 
           source, 
           new String[] {
             "name", "Node_._type",
             "kind", "elementOnly"
           });		
        addAnnotation
          (getNodeType_Metadata(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Metadata",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNodeType_ElementParameter(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "ElementParameter",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNodeType_Color(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "color",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNodeType_CompName(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "compName",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNodeType_PosX(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posX",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNodeType_PosY(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posY",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (noteTypeEClass, 
           source, 
           new String[] {
             "name", "Note_._type",
             "kind", "empty"
           });		
        addAnnotation
          (getNoteType_Opaque(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "opaque",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNoteType_PosX(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posX",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNoteType_PosY(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "posY",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNoteType_SizeH(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "sizeH",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNoteType_SizeW(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "sizeW",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getNoteType_Text(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "text",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (processTypeEClass, 
           source, 
           new String[] {
             "name", "Process_._type",
             "kind", "elementOnly"
           });			
        addAnnotation
          (getProcessType_Node(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Node",
             "namespace", "##targetNamespace"
           });			
        addAnnotation
          (getProcessType_Note(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Note",
             "namespace", "##targetNamespace"
           });			
        addAnnotation
          (getProcessType_Block(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Block",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getProcessType_Connection(), 
           source, 
           new String[] {
             "kind", "element",
             "name", "Connection",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getProcessType_Comment(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "comment",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getProcessType_Name(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "name",
             "namespace", "##targetNamespace"
           });		
        addAnnotation
          (getProcessType_Status(), 
           source, 
           new String[] {
             "kind", "attribute",
             "name", "status",
             "namespace", "##targetNamespace"
           });
    }

} //WarehousePackageImpl
